package com.chalk.service;

import com.baomidou.mybatisplus.service.IService;
import com.chalk.model.TicketType;
import io.swagger.models.auth.In;

import java.util.List;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author glq
 * @since 2020-12-24
 */

public interface TicketTypeService extends IService<TicketType> {
    /**
     * 新增
     */
    public int addTicketType(TicketType entity);

    /**
     * 修改
     */
    public int updateTicketType(TicketType entity);

    /**
     * 删除
     */
    public int deleteTicketType(Integer id);

    /**
     * 小程序-获取场馆的门票类型
     * @param venueId
     * @return
     */
    public List<TicketType> getTicketTypeToList(Integer venueId);
}
